package test;

import java.util.ArrayList;
import java.util.List;

/**
 * 测试
 *
 * @author briarbear
 * @blog https://briarbear.github.io
 * @date 2018-09-05 14:30
 */
public class T10 {

    public static void main(String[] args) {
        T10 t10 = new T10();
        t10.method(null);
        List<Class<? extends T10>> list = new ArrayList<>();
        list.add(T10B.class);
    }

    private void method(Object o) {
        System.out.println("o");
    }

    private void method(String s){
        System.out.println("s");
    }
}

class T10A extends T10{

}
class T10B extends T10A{

}